package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 还款计划表 hatchet_plan
 * 
 * @author ruoyi
 * @date 2019-03-01
 */
public class HatchetPlan extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键id */
	private String iD;
	/** 商户id */
	private String merchantId;
	/** 计划状态 */
	private String sTATUS;
	/** 创建时间 */
	private Date createTime;
	/** 修改时间 */
	private Date updateTime;
	/** 要还的金额 */
	private BigDecimal planAmt;
	/** 成本金额 */
	private BigDecimal cbAmt;
	/** 开始时间 */
	private Date startTime;
	/** 终止时间 */
	private Date endTime;
	/** 计划类型 */
	private String tYPE;
	/** 费率手续费 */
	private BigDecimal saleFree;
	/** 还款笔数费 */
	private BigDecimal payFree;
	/** 费率 */
	private BigDecimal rATE;
	/** 单笔笔数费 */
	private BigDecimal pRO;
	/** 手续费的手续费 */
	private BigDecimal thawTrx;
	/** 每天的笔数 */
	private Integer everyNum;
	/** 退还费用 */
	private BigDecimal returnMoney;
	/** 已扣代还笔数费用 */
	private BigDecimal bucklePay;
	/** 已扣手续费 */
	private BigDecimal buckleFee;
	/** 1 不是落地 2 落地 */
	private Integer isGround;
	/** 落地地区 */
	private String groundRegion;
	/** 城市名称 */
	private String customizeCity;
	/** 行业 */
	private String cityIndustry;
	/** 回款走代付的ID */
	private String backId;
	/** 通道码 */
	private String acqCode;
	/** 计划明细 json字符串*/
	private String sourceItem;
	/** 经理人id:帮忙创建计划的用户的id */
	private String brokerId;
	
	//临时字段
	/** 商户编号 */
	private String merchantNo;
	/** 商户名称 */
	private String merchantName;
	/** 通道名称 */
	private String acqName;
	/** 银行 */
	private String bankName;
	/** 银行卡号 */
	private String cardNo;
	/** 信用卡表id */
	private String limitId;
	//用户手机号
	private String phone;
	
	private BigDecimal sumMoney;
	
	//临时查询字段 商户id集合
	private List<String> merchantIds;
	private String times; //时间集合字符串例如"2018-02-03,2018-03-03"
	//临时字段
	private String departmentCode;
	public void setID(String iD) 
	{
		this.iD = iD;
	}

	public String getID() 
	{
		return iD;
	}
	public void setMerchantId(String merchantId) 
	{
		this.merchantId = merchantId;
	}

	public String getMerchantId() 
	{
		return merchantId;
	}
	public void setSTATUS(String sTATUS) 
	{
		this.sTATUS = sTATUS;
	}

	public String getSTATUS() 
	{
		return sTATUS;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setPlanAmt(BigDecimal planAmt) 
	{
		this.planAmt = planAmt;
	}

	public BigDecimal getPlanAmt() 
	{
		return planAmt;
	}
	public void setCbAmt(BigDecimal cbAmt) 
	{
		this.cbAmt = cbAmt;
	}

	public BigDecimal getCbAmt() 
	{
		return cbAmt;
	}
	public void setStartTime(Date startTime) 
	{
		this.startTime = startTime;
	}

	public Date getStartTime() 
	{
		return startTime;
	}
	public void setEndTime(Date endTime) 
	{
		this.endTime = endTime;
	}

	public Date getEndTime() 
	{
		return endTime;
	}
	public void setTYPE(String tYPE) 
	{
		this.tYPE = tYPE;
	}

	public String getTYPE() 
	{
		return tYPE;
	}
	public void setSaleFree(BigDecimal saleFree) 
	{
		this.saleFree = saleFree;
	}

	public BigDecimal getSaleFree() 
	{
		return saleFree;
	}
	public void setPayFree(BigDecimal payFree) 
	{
		this.payFree = payFree;
	}

	public BigDecimal getPayFree() 
	{
		return payFree;
	}
	public void setRATE(BigDecimal rATE) 
	{
		this.rATE = rATE;
	}

	public BigDecimal getRATE() 
	{
		return rATE;
	}
	public void setPRO(BigDecimal pRO) 
	{
		this.pRO = pRO;
	}

	public BigDecimal getPRO() 
	{
		return pRO;
	}
	public void setThawTrx(BigDecimal thawTrx) 
	{
		this.thawTrx = thawTrx;
	}

	public BigDecimal getThawTrx() 
	{
		return thawTrx;
	}
	public void setEveryNum(Integer everyNum) 
	{
		this.everyNum = everyNum;
	}

	public Integer getEveryNum() 
	{
		return everyNum;
	}
	public void setReturnMoney(BigDecimal returnMoney) 
	{
		this.returnMoney = returnMoney;
	}

	public BigDecimal getReturnMoney() 
	{
		return returnMoney;
	}
	public void setBucklePay(BigDecimal bucklePay) 
	{
		this.bucklePay = bucklePay;
	}

	public BigDecimal getBucklePay() 
	{
		return bucklePay;
	}
	public void setBuckleFee(BigDecimal buckleFee) 
	{
		this.buckleFee = buckleFee;
	}

	public BigDecimal getBuckleFee() 
	{
		return buckleFee;
	}
	public void setIsGround(Integer isGround) 
	{
		this.isGround = isGround;
	}

	public Integer getIsGround() 
	{
		return isGround;
	}
	public void setGroundRegion(String groundRegion) 
	{
		this.groundRegion = groundRegion;
	}

	public String getGroundRegion() 
	{
		return groundRegion;
	}
	public void setCustomizeCity(String customizeCity) 
	{
		this.customizeCity = customizeCity;
	}

	public String getCustomizeCity() 
	{
		return customizeCity;
	}
	public void setCityIndustry(String cityIndustry) 
	{
		this.cityIndustry = cityIndustry;
	}

	public String getCityIndustry() 
	{
		return cityIndustry;
	}
	public void setBackId(String backId) 
	{
		this.backId = backId;
	}

	public String getBackId() 
	{
		return backId;
	}
	public void setAcqCode(String acqCode) 
	{
		this.acqCode = acqCode;
	}

	public String getAcqCode() 
	{
		return acqCode;
	}

	public String getSourceItem() {
		return sourceItem;
	}

	public void setSourceItem(String sourceItem) {
		this.sourceItem = sourceItem;
	}
	
	public String getBrokerId() {
		return brokerId;
	}

	public void setBrokerId(String brokerId) {
		this.brokerId = brokerId;
	}

	public String getMerchantNo() {
		return merchantNo;
	}

	public void setMerchantNo(String merchantNo) {
		this.merchantNo = merchantNo;
	}

	public String getMerchantName() {
		return merchantName;
	}

	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}

	
	public String getAcqName() {
		return acqName;
	}

	public void setAcqName(String acqName) {
		this.acqName = acqName;
	}

	
	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	
	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	
	
	public String getLimitId() {
		return limitId;
	}

	public void setLimitId(String limitId) {
		this.limitId = limitId;
	}

	public List<String> getMerchantIds() {
		return merchantIds;
	}

	public void setMerchantIds(List<String> merchantIds) {
		this.merchantIds = merchantIds;
	}
	
	
	public String getTimes() {
		return times;
	}

	public void setTimes(String times) {
		this.times = times;
	}
	
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	
	public BigDecimal getSumMoney() {
		return sumMoney;
	}

	public void setSumMoney(BigDecimal sumMoney) {
		this.sumMoney = sumMoney;
	}
	
	
	public String getDepartmentCode() {
		return departmentCode;
	}

	public void setDepartmentCode(String departmentCode) {
		this.departmentCode = departmentCode;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("iD", getID())
            .append("merchantId", getMerchantId())
            .append("sTATUS", getSTATUS())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("planAmt", getPlanAmt())
            .append("cbAmt", getCbAmt())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("tYPE", getTYPE())
            .append("saleFree", getSaleFree())
            .append("payFree", getPayFree())
            .append("rATE", getRATE())
            .append("pRO", getPRO())
            .append("thawTrx", getThawTrx())
            .append("everyNum", getEveryNum())
            .append("returnMoney", getReturnMoney())
            .append("bucklePay", getBucklePay())
            .append("buckleFee", getBuckleFee())
            .append("isGround", getIsGround())
            .append("groundRegion", getGroundRegion())
            .append("customizeCity", getCustomizeCity())
            .append("cityIndustry", getCityIndustry())
            .append("backId", getBackId())
            .append("acqCode", getAcqCode())
            .toString();
    }
}
